/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ClientPackage;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 *
 * @author Gwang
 */
public class Command {
	
	private String[] arguments;
	private String s;
    static BufferedReader input =
            new BufferedReader(new InputStreamReader(System.in));
    
    public Command() throws Exception{
        s = input.readLine();
        arguments = s.split(" ");
    }
    public String getCmd(){
        return arguments[0];
    }
    public String getUserName(){
        return arguments[1];
    }
    public String getMessage(){
    	String message = "";
    	for(int index = 2; index<arguments.length;index++)
    		message = message+ arguments[index]+" ";
    	
    	return message.trim();
    }
}
